package com.wang.rabbitmqstudy.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 自定义属性配置
 */
@Component
@ConfigurationProperties(prefix = "custom")
public class PropertiesConfig {
    private String directExchange;
    private String topicExchange;
    private String fanoutExchange;

    private String redQueue;
    private String blueQueue;
    private String yellowQueue;

    private String redRoutingKey;
    private String blueTopicRoutingKey;
    private String yellowTopicRoutingKey;

    //=================== 参数测试 ==========================
    private String argumentsExchange;// 参数交换机
    private String argumentsExclusiveQueue;// 排他队列
    private String argumentsAutoDeleteQueue; // 自动删除队列
    private String argumentsPriorityQueue;// 优先级队列
    private String argumentsTtlQueue; // ttl队列

    private String argumentsExclusiveRoutingKey;// 排他routing key
    private String argumentsAutoDeleteRoutingKey;// 自动删除routing key
    private String argumentsPriorityRoutingKey;// 优先级routing key
    private String argumentsTtlRoutingKey; // ttl routing key

    //====================== 死信 =========================
    private String argumentsCommonQueue;// 普通队列
    private String argumentsCommonRoutingKey; // 普通routing key
    private String deadLetterExchange;
    private String deadLetterQueue;
    private String deadLetterRoutingKey;
    //===================== 备用队列 =======================
    private String backupCommonExchange;
    private String backupCommonQueue;
    private String backupCommonRoutingKey;
    private String backupExchange;
    private String backupQueue;
    private String backupRoutingKey;

    public String getDirectExchange() {
        return directExchange;
    }

    public void setDirectExchange(String directExchange) {
        this.directExchange = directExchange;
    }

    public String getTopicExchange() {
        return topicExchange;
    }

    public void setTopicExchange(String topicExchange) {
        this.topicExchange = topicExchange;
    }

    public String getFanoutExchange() {
        return fanoutExchange;
    }

    public void setFanoutExchange(String fanoutExchange) {
        this.fanoutExchange = fanoutExchange;
    }

    public String getRedQueue() {
        return redQueue;
    }

    public void setRedQueue(String redQueue) {
        this.redQueue = redQueue;
    }

    public String getBlueQueue() {
        return blueQueue;
    }

    public void setBlueQueue(String blueQueue) {
        this.blueQueue = blueQueue;
    }

    public String getYellowQueue() {
        return yellowQueue;
    }

    public void setYellowQueue(String yellowQueue) {
        this.yellowQueue = yellowQueue;
    }

    public String getRedRoutingKey() {
        return redRoutingKey;
    }

    public void setRedRoutingKey(String redRoutingKey) {
        this.redRoutingKey = redRoutingKey;
    }

    public String getBlueTopicRoutingKey() {
        return blueTopicRoutingKey;
    }

    public void setBlueTopicRoutingKey(String blueTopicRoutingKey) {
        this.blueTopicRoutingKey = blueTopicRoutingKey;
    }

    public String getYellowTopicRoutingKey() {
        return yellowTopicRoutingKey;
    }

    public void setYellowTopicRoutingKey(String yellowTopicRoutingKey) {
        this.yellowTopicRoutingKey = yellowTopicRoutingKey;
    }

    public String getArgumentsExchange() {
        return argumentsExchange;
    }

    public void setArgumentsExchange(String argumentsExchange) {
        this.argumentsExchange = argumentsExchange;
    }

    public String getArgumentsExclusiveQueue() {
        return argumentsExclusiveQueue;
    }

    public void setArgumentsExclusiveQueue(String argumentsExclusiveQueue) {
        this.argumentsExclusiveQueue = argumentsExclusiveQueue;
    }

    public String getArgumentsAutoDeleteQueue() {
        return argumentsAutoDeleteQueue;
    }

    public void setArgumentsAutoDeleteQueue(String argumentsAutoDeleteQueue) {
        this.argumentsAutoDeleteQueue = argumentsAutoDeleteQueue;
    }

    public String getArgumentsExclusiveRoutingKey() {
        return argumentsExclusiveRoutingKey;
    }

    public void setArgumentsExclusiveRoutingKey(String argumentsExclusiveRoutingKey) {
        this.argumentsExclusiveRoutingKey = argumentsExclusiveRoutingKey;
    }

    public String getArgumentsAutoDeleteRoutingKey() {
        return argumentsAutoDeleteRoutingKey;
    }

    public void setArgumentsAutoDeleteRoutingKey(String argumentsAutoDeleteRoutingKey) {
        this.argumentsAutoDeleteRoutingKey = argumentsAutoDeleteRoutingKey;
    }

    public String getArgumentsPriorityQueue() {
        return argumentsPriorityQueue;
    }

    public void setArgumentsPriorityQueue(String argumentsPriorityQueue) {
        this.argumentsPriorityQueue = argumentsPriorityQueue;
    }

    public String getArgumentsPriorityRoutingKey() {
        return argumentsPriorityRoutingKey;
    }

    public void setArgumentsPriorityRoutingKey(String argumentsPriorityRoutingKey) {
        this.argumentsPriorityRoutingKey = argumentsPriorityRoutingKey;
    }

    public String getArgumentsTtlQueue() {
        return argumentsTtlQueue;
    }

    public void setArgumentsTtlQueue(String argumentsTtlQueue) {
        this.argumentsTtlQueue = argumentsTtlQueue;
    }

    public String getArgumentsTtlRoutingKey() {
        return argumentsTtlRoutingKey;
    }

    public void setArgumentsTtlRoutingKey(String argumentsTtlRoutingKey) {
        this.argumentsTtlRoutingKey = argumentsTtlRoutingKey;
    }

    public String getArgumentsCommonQueue() {
        return argumentsCommonQueue;
    }

    public void setArgumentsCommonQueue(String argumentsCommonQueue) {
        this.argumentsCommonQueue = argumentsCommonQueue;
    }

    public String getArgumentsCommonRoutingKey() {
        return argumentsCommonRoutingKey;
    }

    public void setArgumentsCommonRoutingKey(String argumentsCommonRoutingKey) {
        this.argumentsCommonRoutingKey = argumentsCommonRoutingKey;
    }

    public String getDeadLetterExchange() {
        return deadLetterExchange;
    }

    public void setDeadLetterExchange(String deadLetterExchange) {
        this.deadLetterExchange = deadLetterExchange;
    }

    public String getDeadLetterQueue() {
        return deadLetterQueue;
    }

    public void setDeadLetterQueue(String deadLetterQueue) {
        this.deadLetterQueue = deadLetterQueue;
    }

    public String getDeadLetterRoutingKey() {
        return deadLetterRoutingKey;
    }

    public void setDeadLetterRoutingKey(String deadLetterRoutingKey) {
        this.deadLetterRoutingKey = deadLetterRoutingKey;
    }

    public String getBackupCommonExchange() {
        return backupCommonExchange;
    }

    public void setBackupCommonExchange(String backupCommonExchange) {
        this.backupCommonExchange = backupCommonExchange;
    }

    public String getBackupCommonQueue() {
        return backupCommonQueue;
    }

    public void setBackupCommonQueue(String backupCommonQueue) {
        this.backupCommonQueue = backupCommonQueue;
    }

    public String getBackupCommonRoutingKey() {
        return backupCommonRoutingKey;
    }

    public void setBackupCommonRoutingKey(String backupCommonRoutingKey) {
        this.backupCommonRoutingKey = backupCommonRoutingKey;
    }

    public String getBackupExchange() {
        return backupExchange;
    }

    public void setBackupExchange(String backupExchange) {
        this.backupExchange = backupExchange;
    }

    public String getBackupQueue() {
        return backupQueue;
    }

    public void setBackupQueue(String backupQueue) {
        this.backupQueue = backupQueue;
    }

    public String getBackupRoutingKey() {
        return backupRoutingKey;
    }

    public void setBackupRoutingKey(String backupRoutingKey) {
        this.backupRoutingKey = backupRoutingKey;
    }
}
